.article-comment-box {
   display: block !important;
}
.comment-box {
    max-height: 400px;
    width: 100%;
    /*max-width: 600px;*/
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
    margin-bottom: 10px;
    display: none;
    margin-top: 10px;
}
.editor {
    min-height: 50px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    font-size: 14px;
    overflow-y: auto;
    word-wrap: break-word;
    max-height: 300px;
}
.editor:empty::before {
    content: attr(data-comment-placeholder);
    /*content: "写下你的评论...";*/
    color: #aaa;
}
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.toolbar .icons {
    display: flex;
    gap: 10px;
}
.toolbar .icons i {
    cursor: pointer;
    font-size: 20px;
    color: #555;
    transition: color 0.3s;
}
.toolbar .icons i:hover {
    color: #007bff;
}
.submit-btn button {
    background: #007bff;
    color: #fff;
    padding: 8px 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}
.submit-btn button:hover {
    background: #0056b3;
}
.emoji-picker {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 10;
    max-width: 50%;
}
.emoji-picker .emoji {
    font-size: 20px;
    cursor: pointer;
    margin: 1px;
}
.emoji-picker .emoji:hover {
    transform: scale(1.2);
}
.editor img {
    max-width: 100px;
    max-height: 100px;
    border-radius: 5px;
    margin: 5px;
}
.word-count {
    font-size: 12px;
    color: #888;
    text-align: right;
    margin-top: 5px;
}
.word-count.warning {
    color: red;
}
.editor.warning {
    border: 1px solid red;
}
.error-message {
    font-size: 12px;
    color: red;
    margin-top: 5px;
}

.article-comment-avatar{
    margin-top: 10px;
}